home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / appkit.641 < prev    next >
Text File  |  1992-02-06  |  1KB  |  26 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fswiss Helvetica;}
  2. \paperw9840
  3. \paperh8400
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 application-busy cursor doesn't appear when creating windows\
  8. \
  9. Q:  The application-busy cursor doesn't appear when my application creates a new window.  What's wrong?\
  10. \
  11. A:  
  12. \fc0 Making a window key (with 
  13. \f2\fs24 -makeKeyWindow
  14. \f0\fs28  or 
  15. \f2\fs24 -makeKeyAndOrderFront:
  16. \f0\fs28 , for example) turns out to poll the event queue as part of dealing with cursor rect events, preventing the application-busy cursor from coming up (the system brings up the cursor when it recognizes that an application isn't taking events from its queue).  You can workaround this problem by making a window key after most of the work has been done (e.g. ordering it front, initializing data structures, loading the document, etc., then making it the key window).   \
  17. \
  18. \
  19. QA641\
  20. \
  21.  
  22. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 Valid for 2.0
  23. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 \
  24. \
  25.  
  26.